View the VLAN port member status to display the port member status for all VLANs on the switch or for the specified VLAN.
show vlan members [null-vlan] [port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}] [<1-4059>]
Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.
Identifies the slot and port in one of the following formats:
a single slot and port (slot/port)
a range of slots and ports (slot/port-slot/port)
a series of slots and ports (slot/port,slot/port,slot/port)
all ports on the same slot (slot/all)
all ports on the switch (all)
None
User EXEC
The show vlan members command displays the following information:
Output field |
Description |
---|---|
VLAN ID |
Indicates the VLAN ID. |
PORT MEMBER |
Indicates the set of ports that are members (static or dynamic) of this VLAN. |
ACTIVE MEMBER |
Indicates the set of ports that are currently active in this VLAN. Active ports include all static and dynamic ports that meet the VLAN policy. |
STATIC MEMBER |
Indicates the set of ports that are static members of this VLAN. A static member of a VLAN is always active and never ages. |
NOT_ALLOW MEMBER |
Indicates the set of ports that cannot become members of this VLAN. |
VLAN PORT NUM |
Indicates the VLAN port number for the passive OSPF interface. |
The following example displays VLAN port data.
Switch1:1>show vlan members ========================================================================== Vlan Port ========================================================================== VLAN PORT ACTIVE STATIC NOT_ALLOW ID MEMBER MEMBER MEMBER MEMBER -------------------------------------------------------------------------- 1 1/1-1/4,1/6- 1/1-1/4,1/6- 1/24 1/24 2 1/5 1/5 All 2 out of 2 Total Num of Port Entries displayed